---
title: Adding Eslint
description: How to get started with Eslint
sidebar_label: Adding Eslint
---

## Installing bud.js dependencies

To get started with Eslint, install the [@roots/bud-eslint](/extensions/bud-eslint) extension to your project.

```sh npm2yarn
npm install @roots/bud-eslint --save-dev
```

If you want to extend one of our first party configurations, you'll also want to install `@roots/eslint-config`:

```sh npm2yarn
npm install @roots/eslint-config --save-dev
```

## Configuring eslint

Once you've installed the extension you can configure it either in your [bud.config file](/learn/config/files/bud.config) or in a separate `.eslintrc.js` file.

For more information on configuring eslint refer to the [@roots/bud-eslint documentation](/extensions/bud-eslint).
